﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Department/Department.Master"
    Inherits="System.Web.Mvc.ViewPage<AFI.Speargun.Web.Models.Department>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    部门 - 编辑 -
    <%= Html.Encode(Model.Appellation)%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        编辑 -
        <%= Html.Encode(Model.Appellation)%></h2>
    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
    <% using (Html.BeginForm())
       {%>
    <fieldset>
        <legend>部门</legend>
        <p>
            <label for="Appellation">
                名称:</label>
            <%= Html.TextBox("Appellation", Model.Appellation, new { @class = "input-box", @size = 50 })%>
            <%= Html.ValidationMessage("Appellation", "*") %>
        </p>
        <p>
            <input type="submit" value="提交" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%=Html.ActionLink("返回到列表", "Index") %>
    </div>
</asp:Content>
